package model;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.Timer;

import view.MainWindow;

public class FindPath {

	/**
	 * @param args
	 */
	
	static MainWindow mainWindow;
	static Timer timerMainView = new Timer(500, new ActionListener() {
		
		@Override
		public void actionPerformed(ActionEvent arg0) {
			//mainWindow.repaint();
			//System.out.println("X: " + PV.getCurrentMouseNodeX() + " /Y: " + PV.getCurrentMouseNodeY());
		}
	});
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		mainWindow = new MainWindow();
		timerMainView.start();
		
	}

	public static MainWindow getMainWindow() {
		return mainWindow;
	}

	public static void setMainWindow(MainWindow mainWindow) {
		FindPath.mainWindow = mainWindow;
	}

}
